﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JChuJiaGongWuListUpdate.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.JSDWF.JChuJiaGongWuListUpdate" %>
<div class="pageContent">
	<form method="post" action="JSDWF/JChuJiaGongWuListUpdate.aspx?ajaxmethod=add&ChuJGWId=<%=ChuJGWId %>" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent" layoutH="56">
                <p>
				    <label>供应商：</label>
				    <input name="SupplerName" type="text" class=""  value="<%=obj.SupplerName %>" />
			    </p>
            
                <p>
				    <label>机 型：</label>
				    <input name="MacType" type="text" class="required"  value="<%=obj.MacType %>" />
			    </p>
            <div class="divider"></div>
                <p>
				    <label>管制理由：</label>
				    <select name="ControlReasonType" class="required">
                        <option value="试制" <%=obj.ControlReasonType=="试制"?"selected":"" %>>试制</option>
                        <option value="量试" <%=obj.ControlReasonType=="量试"?"selected":"" %>>量试</option>
                        <option value="初量产" <%=obj.ControlReasonType=="初量产"?"selected":"" %>>初量产</option>
				    </select>
			    </p>
                <p>
				    <select name="ControlReasonSoure" class="required">
                        <option value="国产化开发"  <%=obj.ControlReasonSoure=="国产化开发"?"selected":"" %>>国产化开发</option>
                        <option value="厂商变更"  <%=obj.ControlReasonSoure=="厂商变更"?"selected":"" %>>厂商变更</option>
                        <option value="设变管制"  <%=obj.ControlReasonSoure=="设变管制"?"selected":"" %>>设变管制</option>
                        <option value="新机型开发"  <%=obj.ControlReasonSoure=="新机型开发"?"selected":"" %>>新机型开发</option>
                        <option value="特别管制"  <%=obj.ControlReasonSoure=="特别管制"?"selected":"" %>>特别管制</option>
				    </select>
			    </p>
              <h2 style="clear:both; padding:5px; border-bottom:1px solid #B8D0D6; margin-bottom:5px; margin-top:15px; line-height:26px;">
                管制零件
            </h2>
              <table class="list" width="600px">
                    <thead>
                    <tr>
                        <th>零件号码</th>
                        <th>零件名称</th>
                        <th>数量</th>
                        <th>变更内容及注意事项</th>
                    </tr>
                    </thead>
                    <tbody>
                    <asp:repeater id="rplistDetail" runat="server">               
                        <ItemTemplate>
                            <tr>
                                <td><input type="text" name="ItemCode" class="inputGetFormLimtt" value="<%# Eval("ItemCode") %>"/></td>
                                <td><input type="text" name="ItemName" class="inputGetFormLimtt" value="<%# Eval("ItemName") %>"/></td>
                                <td><input type="text" name="Quantity" class="inputFloat" value="<%# Eval("Quantity") %>"/></td>
                                <td><input type="text" name="Note" class="inputGetFormLimtt"value="<%# Eval("Note") %>"/></td>
                            </tr>
                        </ItemTemplate>                   
                    </asp:repeater>                    
                    </tbody>
              </table>
              <h2 style="clear:both; padding:5px; border-bottom:1px solid #B8D0D6; margin-bottom:5px; margin-top:15px; line-height:26px;">
                承办人
            </h2>
               <table class="list" id="JChuJiaGongWuListAddrpFlowTemp">
                    <thead>
                    <tr>
                       
                        <th width="80px">部门</th>
                        <th width="60px">承办人</th>
                        <th width="60px">承办日期</th>
                        <th width="120px">承办意见</th>
                        <th width="60px">结果判定</th>
                    </tr>
                    </thead>
                    <tbody>                    
                    <asp:repeater id="rpFlowTemp" runat="server">               
                        <ItemTemplate>
                            <tr>
                               
                                <td><%# Eval("DeptTitle") %></td>
                                <td>
                                     <%# Eval("RealName") %>
                                </td>
                                <td>
                                    <%# Eval("CBDate") %>
                                </td>
                                <td>
                                    <%# Eval("CBNote") %>
                                </td>
                                <td><%# Eval("CBResult") %></td>
                            </tr>
                        </ItemTemplate>                   
                    </asp:repeater>
                    </tbody>
              </table>
               <h2 style="clear:both; padding:5px; border-bottom:1px solid #B8D0D6; margin-bottom:5px; margin-top:15px; line-height:26px;">
                管制机号
            </h2>
              <table class="list" width="600px">
                    <thead>
                    <tr>
                        <th>计划装配机号</th>
                        <th>实际装配机号</th>
                        <th>备注</th>
                       
                    </tr>
                    </thead>
                    <tbody>
                    <asp:repeater id="rplistSerial" runat="server">               
                        <ItemTemplate>
                            <tr>                       
                                <td><input type="text" name="JHSerialNumber" class="inputGetFormLimtt" value="<%# Eval("JHSerialNumber") %>"/></td>
                                <td><input type="text" name="SJSerialNumber" class="inputGetFormLimtt" value="<%# Eval("SJSerialNumber") %>"/></td>
                                <td><input type="text" name="SerialNote" class="inputGetFormLimtt" value="<%# Eval("Note") %>"/></td>                        
                            </tr>     
                        </ItemTemplate>              
                    </asp:repeater>                    
                    </tbody>
              </table>
              <div class="divider"></div>           
        </div>        
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit" > 提 交 </button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
<script>
    $(document).ready(function () {

    })
   
</script>